import Vue from 'vue'
import SvgIcon from '@/components/SvgIcon'// svg component

// 全局注册
Vue.component('svg-icon', SvgIcon)

const requireAll = (requireContext) => {
  requireContext.keys().map(requireContext)
}

requireAll(require.context('./svg', false, /\.svg$/))
